package com.example.diancai.websocket.dto;

import lombok.Data;

@Data
public class SocketMessage<T> {
    private String event;
    private T data;
    private String message;

    public SocketMessage() {
    }

    public SocketMessage(String event, T data) {
        this.event = event;
        this.data = data;
    }
}
